﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/ElegantFood.master" AutoEventWireup="true" CodeFile="CustomerCheckout2.aspx.cs" Inherits="Site_CustomerCheckout2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ImageBanner" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ProductHeading" Runat="Server">
	<h2>
		ដំណើរការបញ្ជាទិញ - ដំណាក់កាលទី២</h2>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentElegantFood" Runat="Server">
	<div class="col-md-12">
		<div class="row">
			<div class="col-md-5">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">ព័ត៌មានអតិថិជន</h3>
					</div>
					<div class="panel-body">
						<dl class="dl-horizontal ef-no-margin-bottom">
							<dt>ឈ្មោះ</dt>
							<dd>: <asp:Label ID="customerName" runat="server" /></dd>
							<dt>លេខទូរស័ព្ទ</dt>
							<dd>
								: <asp:Label ID="customerPhone" runat="server" /></dd>
							<dt>អ៊ីម៉ែល</dt>
							<dd>
								: <asp:Label ID="customerEmail" runat="server" /></dd>
							<dt>អាស័យដ្ឋាន</dt>
							<dd>
								: <asp:Label ID="shippingAddress" runat="server" /></dd>
						</dl>
					</div>
				</div>
			</div>
			<div class="col-md-7">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">
							ព័ត៌មានទំនិញ</h3>
					</div>
					<div class="panel-body">
						<asp:GridView ID="cartView" runat="server" GridLines="None" CssClass="table table-hover table-striped ef-no-margin-bottom" AutoGenerateColumns="false">
							<Columns>
								<asp:BoundField DataField="Name" HeaderText="ឈ្មោះម្ហូប" SortExpression="Name" />
								<asp:BoundField DataField="Price" DataFormatString="{0:c}" HeaderText="តម្លៃ" SortExpression="Price" />
								<asp:BoundField DataField="Quantity" HeaderText="បរិមាណ" SortExpression="Quantity" />
								<asp:BoundField DataField="Subtotal" HeaderText="សរុប" DataFormatString="{0:c}" SortExpression="Subtotal" />
							</Columns>
						</asp:GridView>
						<hr />
						<p class="help-block pull-right">
							<span>សរុបការចំណាយ: </span>
							<asp:Label ID="totalAmountLabel" runat="server" Text="Label" />
						</p>
					</div>
				</div>
			</div>
		</div>
		<hr />
		<asp:HyperLink ID="gobackButton" runat="server" Text="ត្រឡប់ក្រោយ" NavigateUrl="Site/CustomerCheckout.aspx"
			CssClass="btn btn-danger btn-sm pull-left" />
		<asp:Button ID="nextCompleteCheckout" runat="server" Text="បញ្ចប់ការបញ្ជាទិញ" OnClick="nextCompleteCheckout_Click"
			CssClass="btn btn-success btn-sm pull-right" />
	</div>
</asp:Content>